package miage.rest.resource;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
/**
 *
 * @author marya
 */
@XStreamAlias("error")
public class Error {

    @XStreamAlias("message")
    @XStreamAsAttribute
    private String libelle;
    
    public Error(String libelle) {
        this.libelle = libelle;
    }

    public String getLibelle() {
        return libelle;
    }

    public void setLibelle(String libelle) {
        this.libelle = libelle;
    }


}
